import {
  combineReducers, 
  legacy_createStore as createStore,
  applyMiddleware
} from 'redux'
import thunk from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'
import userReducer from './user/reducer'
import jobReducer from './job/reducer'



const rootReducer = combineReducers({
  userReducer,
  jobReducer

})

const enhancer = composeWithDevTools(applyMiddleware(thunk))


export default createStore(rootReducer, enhancer)





